package com.example.ruiji;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = "com.example.ruiji.dao.mapper")
@EnableSwagger2
@EnableWebMvc
@EnableCaching
public class RuijiApplication {
  
  public static void main(String[] args) {
    SpringApplication.run(RuijiApplication.class, args);
  }
}
